package data;

public class SubmittedOrder extends Order {

	private boolean mLoaded = false;
	
	public SubmittedOrder(Order order) {
		super(order);
	}
	
	public boolean isLoaded() {
		return mLoaded;
	}
	
	public void orderDetailsLoaded(Order order) {
		mOrderDepartments = order.getOrderDepartments();
		mLoaded = true;
	}
	
	public void loadFullOrder(Order order) {
		mOrderDepartments = order.getOrderDepartments();
		mLoaded = true;
	}
}
